package com.koron.car.web.costregister.bean.entity;

import com.koron.car.web.common.UpdateParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("费用录入")
public class CostRegister implements Serializable, UpdateParameter {
    private static final long serialVersionUID = -80524077071705128L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("费用类别，字典（car_fee_type）：停车费、路桥费、加油费、维修费、保养费")
    private String costType;

    @ApiModelProperty("用车申请id")
    private String applyId;

    @ApiModelProperty("用车申请单编码")
    private String applyCode;

    @ApiModelProperty("维修/保养单号")
    private String maintainCode;

    @ApiModelProperty("车辆id")
    private String carId;

    @ApiModelProperty("车牌号")
    private String licPlateNum;

    @ApiModelProperty("所属车队")
    private String motorcade;

    @ApiModelProperty("司机id")
    private String driverId;

    @ApiModelProperty("司机名称")
    private String driverName;

    @ApiModelProperty("缴费金额")
    private Double cost;

    @ApiModelProperty("油量")
    private Double oil;

    @ApiModelProperty("地点")
    private String place;

    @ApiModelProperty("（开始）时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态，字典：car_fee_state")
    private String state;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人账号")
    private String updateBy;

    @ApiModelProperty(value = "更新人姓名")
    private String updateByName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "部门")
    private String deptId;

    @ApiModelProperty(value = "燃油标号")
    private String oilNumber;
}
